<!DOCTYPE html>
<html lang="zh_TW">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>黑馬面面</title>
    <link rel="stylesheet" href="./css/normalize.css" />
    <link rel="stylesheet" href="./css/swiper.min.css" />
    <link rel="stylesheet" href="./css/index.css" />
  </head>
  <body>
    <section class="warp">
      <!-- 頭部區域 -->
      <header class="header">志豪面試app開發</header>
      <!-- 導航欄 -->
      <nav class="nav">
        <a href="#" class="item">
          <img src="./icons/icon1.png" alt="" />
          <span>HR面試</span>
        </a>
        <a href="#" class="item">
          <img src="./icons/icon2.png" alt="" />
          <span>筆試</span>
        </a>
        <a href="#" class="item">
          <img src="./icons/icon3.png" alt="" />
          <span>面試技巧</span>
        </a>
        <a href="#" class="item">
          <img src="./icons/icon4.png" alt="" />
          <span>模擬面試</span>
        </a>
        <a href="#" class="item">
          <img src="./icons/icon5.png" alt="" />
          <span>面試技巧</span>
        </a>
        <a href="#" class="item">
          <img src="./icons/icon6.png" alt="" />
          <span>薪資查詢</span>
        </a>
      </nav>
      <section class="go">
        <img src="./images/go.png" alt="" />
      </section>
    </section>
    <!-- 就業指導 -->
    <section class="content">
      <div class="content_hd">
        <h4>
          <span class="icon"><img src="./icons/i2.png" alt="" /></span>
          就業指導
        </h4>
        <a href="#" class="more">更多>></a>
      </div>
      <div class="get_job_focus">
        <div class="swiper-container get_job_fo">
          <div class="swiper-wrapper">
            <div class="swiper-slide">
              <a href="#"><img src="./images/pic.png" alt="" /></a>
              <p>老師教你應對面試技巧</p>
            </div>
            <div class="swiper-slide">
              <a href="#"><img src="./images/ldh.jpg" alt="" /></a>
              <p>老師教你應對面試技巧</p>
            </div>
            <div class="swiper-slide">
              <a href="#"><img src="./images/3.jpg" alt="" /></a>
              <p>老師教你應對面試技巧</p>
            </div>
          </div>
        </div>
        <!-- Add Arrows -->
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
      </div>
    </section>
    <!-- 充電學習 -->
    <section class="content study_con">
      <div class="content_hd">
        <h4>
          <span class="icon"><img src="./icons/i1.png" alt="" /></span>
          充電學習
        </h4>
        <a href="#" class="more">更多>></a>
      </div>
      <!-- 學習輪播圖 -->
      <div class="study">
        <!-- Swiper -->
        <div class="swiper-container study_fo">
          <div class="swiper-wrapper">
            <div class="swiper-slide">
              <img src="./images//pic1.png" alt="" />
              <h5>高調說英語，告別台式英語</h5>
              <p>152人學習</p>
            </div>
            <div class="swiper-slide">
              <img src="./images//pic2.png" alt="" />
              <h5>高調說英語，告別台式英語</h5>
              <p>152人學習</p>
            </div>
            <div class="swiper-slide">
              <img src="./images//pic1.png" alt="" />
              <h5>高調說英語，告別台式英語</h5>
              <p>152人學習</p>
            </div>
            <div class="swiper-slide">
              <img src="./images//pic2.png" alt="" />
              <h5>高調說英語，告別台式英語</h5>
              <p>152人學習</p>
            </div>
          </div>
          <!-- Add Pagination -->
          <div class="swiper-pagination"></div>
        </div>
      </div>
    </section>
    <footer class="footer">
      <a href="#" class="item">
        <img src="./icons/home.png" alt="" />
        <p>首頁</p>
      </a>
      <a href="#" class="item">
        <img src="./icons/ms.png" alt="" />
        <p>面試技巧</p>
      </a>
      <a href="#" class="item">
        <img src="./icons/net.png" alt="" />
        <p>模擬面試</p>
      </a>
      <a href="#" class="item">
        <img src="./icons/user.png" alt="" />
        <p>我的主頁</p>
      </a>
    </footer>
    <script src="./js/flexible.js"></script>
    <script src="./js/swiper.min.js"></script>
    <script>
      (function () {
        var swiper = new Swiper(".get_job_fo", {
          // 能顯示的slide格數
          slidesPerView: 2,
          // 每一個slide之間的距離
          spaceBetween: 30,
          centeredSlides: true,
          loop: true,
          // 添加左右箭頭 根據需求跑到外面
          navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev",
          },
        });
      })();
      // 第2個函數輪播圖
      (function () {
        // 如果有多個輪播圖就要修改 swiper-container
        var swiper = new Swiper(".study_fo", {
          slidesPerView: 2.2,
          spaceBetween: 20,
        });
      })();
    </script>
  </body>
</html>
